package com.atguigu.jxc.service.impl;

import com.atguigu.jxc.dao.DamageListGoodsDao;
import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.service.DamageListGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DamageListGoodsServiceImpl implements DamageListGoodsService {
    @Autowired
    private DamageListGoodsDao damageListGoodsDao;
    @Override
    public void saveDamage(DamageList damageList, String damageListGoodsStr) {
        damageListGoodsDao.saveDamage(damageList,damageListGoodsStr);
        damageListGoodsDao.saveDamageListGoods(damageList,damageListGoodsStr);

    }
}
